package com.e3.basdoc.measure.model;

import com.e3.web.core.model.SuperModel;

public class MeasureUnitModel extends SuperModel implements MeasureUnitFields{

	private static final long serialVersionUID = 614684734975012377L;
	
	private String code;
	
	private String name;

	public String getCode() {
		return get(MeasureUnitModel.CODE);
	}

	public void setCode(String code) {
		set(MeasureUnitModel.CODE,code);
	}

	public String getName() {
		return get(MeasureUnitModel.NAME);
	}

	public void setName(String name) {
		set(MeasureUnitModel.NAME,name);
	}
	
	public String toString(){
		return getName();
	}

}
